From 5ba5f2c0c03bec5dcaf92a7df41b0ac05709045f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 26 Dec 2017 14:10:54 -0500 Subject: [PATCH] gdk: Cosmetic rewording of draw context docs Avoid draw context <> drawing context confusion, as far as possible. --- gdk/gdkdrawcontext.c | 2 +- gdk/gdkglcontext.c | 4 ++-- gdk/gdkvulkancontext.c | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gdk/gdkdrawcontext.c b/gdk/gdkdrawcontext.c index 401cd65844..1ca7d41942 100644 --- a/gdk/gdkdrawcontext.c +++ b/gdk/gdkdrawcontext.c @@ -28,7 +28,7 @@ /** * SECTION:gdkdrawcontext * @Title: GdkDrawContext - * @Short_description: Drawing context base class + * @Short_description: Base class for draw contexts * * #GdkDrawContext is the base object used by contexts implementing different * rendering methods, such as #GdkGLContext or #GdkVulkanContext. It provides diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c index b0cbfdbdec..8d1c99d463 100644 --- a/gdk/gdkglcontext.c +++ b/gdk/gdkglcontext.c @@ -21,10 +21,10 @@ /** * SECTION:gdkglcontext * @Title: GdkGLContext - * @Short_description: OpenGL context + * @Short_description: OpenGL draw context * * #GdkGLContext is an object representing the platform-specific - * OpenGL drawing context. + * OpenGL draw context. * * #GdkGLContexts are created for a #GdkWindow using * gdk_window_create_gl_context(), and the context will match the diff --git a/gdk/gdkvulkancontext.c b/gdk/gdkvulkancontext.c index efeef9344d..cb14d3b233 100644 --- a/gdk/gdkvulkancontext.c +++ b/gdk/gdkvulkancontext.c @@ -31,16 +31,16 @@ /** * SECTION:gdkvulkancontext * @Title: GdkVulkanContext - * @Short_description: Vulkan context + * @Short_description: Vulkan draw context * * #GdkVulkanContext is an object representing the platform-specific - * Vulkan drawing context. + * Vulkan draw context. * * #GdkVulkanContexts are created for a #GdkWindow using * gdk_window_create_vulkan_context(), and the context will match the * the characteristics of the window. * - * Support for #GdkGLContext is platform-specific, context creation + * Support for #GdkVulkanContext is platform-specific, context creation * can fail, returning %NULL context. */ -- 2.30.2